package com.tust.app.service;

import java.util.List;
import com.tust.app.domain.TUser;

public interface TUserService{



    int deleteByPrimaryKey(Integer id);

    int insert(TUser record);

    int insertOrUpdate(TUser record);

    int insertOrUpdateSelective(TUser record);

    int insertSelective(TUser record);

    TUser selectByPrimaryKey(Integer id);

    List<TUser> selectAll();

    int updateByPrimaryKeySelective(TUser record);

    int updateByPrimaryKey(TUser record);

    int updateBatch(List<TUser> list);

    int updateBatchSelective(List<TUser> list);

    int batchInsert(List<TUser> list);

    List<TUser> selectByUsername(String username);


    List<TUser> tuserList();



    TUser checkreg(String username);
}
